package top.tagao.m02_creationalPatterns.c_02_singleton;

/**
 * @author fu-xiao-liu
 * @Date 2022/6/22 22:11
 */
public class Main {
    public static void main(String[] args) {
        Singleton5 instance1 = Singleton5.getInstance();
        Singleton5 instance2 = Singleton5.getInstance();
        System.out.println(instance1 == instance2);
        System.out.println(instance1);
        System.out.println(instance2);
    }


}
